home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-06-09 | 2.3 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Jun 9 16:49:48 1993, modified Wed Jun 9 16:49:48 1993, creator Think C, type ASCII, 1570 bytes "iacdate.c" , at 0x6a2 402 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 69 61 63 64 61 74 | 65 2e 63 00 00 00 00 00 |..iacdat|e.c.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 06 22 00 | 00 01 92 a8 3b fd 6c a8 |......".|....;.l.|
|00000060| 3b fd 6c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.l.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f6 44 00 00 |........|.....D..|
|00000080| 0d 2f 2a a9 20 43 6f 70 | 79 72 69 67 68 74 20 31 |./*. Cop|yright 1|
|00000090| 39 38 38 2d 31 39 39 33 | 20 55 73 65 72 4c 61 6e |988-1993| UserLan|
|000000a0| 64 20 53 6f 66 74 77 61 | 72 65 2c 20 49 6e 63 2e |d Softwa|re, Inc.|
|000000b0| 20 20 41 6c 6c 20 52 69 | 67 68 74 73 20 52 65 73 | All Ri|ghts Res|
|000000c0| 65 72 76 65 64 2e 2a 2f | 0d 0d 23 69 6e 63 6c 75 |erved.*/|..#inclu|
|000000d0| 64 65 20 22 69 61 63 69 | 6e 74 65 72 6e 61 6c 2e |de "iaci|nternal.|
|000000e0| 68 22 0d 0d 0d 23 64 65 | 66 69 6e 65 20 74 79 70 |h"...#de|fine typ|
|000000f0| 65 44 61 74 65 20 27 64 | 61 74 65 27 0d 0d 0d 0d |eDate 'd|ate'....|
|00000100| 0d 42 6f 6f 6c 65 61 6e | 20 49 41 43 70 75 73 68 |.Boolean| IACpush|
|00000110| 64 61 74 65 70 61 72 61 | 6d 20 28 6c 6f 6e 67 20 |datepara|m (long |
|00000120| 76 61 6c 2c 20 4f 53 54 | 79 70 65 20 6b 65 79 77 |val, OST|ype keyw|
|00000130| 6f 72 64 29 20 7b 0d 0d | 09 72 65 74 75 72 6e 20 |ord) {..|.return |
|00000140| 28 49 41 43 70 75 73 68 | 64 61 74 65 69 74 65 6d |(IACpush|dateitem|
|00000150| 20 28 49 41 43 67 6c 6f | 62 61 6c 73 2e 65 76 65 | (IACglo|bals.eve|
|00000160| 6e 74 2c 20 76 61 6c 2c | 20 6b 65 79 77 6f 72 64 |nt, val,| keyword|
|00000170| 29 29 3b 0d 09 7d 20 2f | 2a 49 41 43 70 75 73 68 |));..} /|*IACpush|
|00000180| 64 61 74 65 70 61 72 61 | 6d 2a 2f 0d 0d 0d 42 6f |datepara|m*/...Bo|
|00000190| 6f 6c 65 61 6e 20 49 41 | 43 72 65 74 75 72 6e 64 |olean IA|Creturnd|
|000001a0| 61 74 65 20 28 6c 6f 6e | 67 20 78 29 20 7b 0d 09 |ate (lon|g x) {..|
|000001b0| 0d 09 72 65 74 75 72 6e | 20 28 49 41 43 70 75 73 |..return| (IACpus|
|000001c0| 68 64 61 74 65 69 74 65 | 6d 20 28 49 41 43 67 6c |hdateite|m (IACgl|
|000001d0| 6f 62 61 6c 73 2e 72 65 | 70 6c 79 2c 20 78 2c 20 |obals.re|ply, x, |
|000001e0| 6b 65 79 44 69 72 65 63 | 74 4f 62 6a 65 63 74 29 |keyDirec|tObject)|
|000001f0| 29 3b 0d 09 7d 20 2f 2a | 49 41 43 72 65 74 75 72 |);..} /*|IACretur|
|00000200| 6e 64 61 74 65 2a 2f 0d | 0d 0d 42 6f 6f 6c 65 61 |ndate*/.|..Boolea|
|00000210| 6e 20 49 41 43 67 65 74 | 64 61 74 65 70 61 72 61 |n IACget|datepara|
|00000220| 6d 20 28 4f 53 54 79 70 | 65 20 6b 65 79 77 6f 72 |m (OSTyp|e keywor|
|00000230| 64 2c 20 6c 6f 6e 67 20 | 2a 76 61 6c 29 20 7b 0d |d, long |*val) {.|
|00000240| 09 0d 09 69 66 20 28 21 | 49 41 43 67 65 74 64 61 |...if (!|IACgetda|
|00000250| 74 65 69 74 65 6d 20 28 | 49 41 43 67 6c 6f 62 61 |teitem (|IACgloba|
|00000260| 6c 73 2e 65 76 65 6e 74 | 2c 20 6b 65 79 77 6f 72 |ls.event|, keywor|
|00000270| 64 2c 20 76 61 6c 29 29 | 20 7b 0d 09 09 0d 09 09 |d, val))| {......|
|00000280| 49 41 43 70 61 72 61 6d | 65 72 72 6f 72 20 28 49 |IACparam|error (I|
|00000290| 41 43 67 6c 6f 62 61 6c | 73 2e 65 72 72 6f 72 63 |ACglobal|s.errorc|
|000002a0| 6f 64 65 2c 20 22 5c 70 | 64 61 74 65 22 2c 20 6b |ode, "\p|date", k|
|000002b0| 65 79 77 6f 72 64 29 3b | 0d 09 09 0d 09 09 72 65 |eyword);|......re|
|000002c0| 74 75 72 6e 20 28 66 61 | 6c 73 65 29 3b 0d 09 09 |turn (fa|lse);...|
|000002d0| 7d 0d 09 0d 09 49 41 43 | 67 6c 6f 62 61 6c 73 2e |}....IAC|globals.|
|000002e0| 6e 65 78 74 70 61 72 61 | 6d 6f 70 74 69 6f 6e 61 |nextpara|moptiona|
|000002f0| 6c 20 3d 20 66 61 6c 73 | 65 3b 20 2f 2a 6d 75 73 |l = fals|e; /*mus|
|00000300| 74 20 62 65 20 72 65 73 | 65 74 20 66 6f 72 20 65 |t be res|et for e|
|00000310| 61 63 68 20 70 61 72 61 | 6d 2a 2f 0d 09 0d 09 72 |ach para|m*/....r|
|00000320| 65 74 75 72 6e 20 28 74 | 72 75 65 29 3b 0d 09 7d |eturn (t|rue);..}|
|00000330| 20 2f 2a 49 41 43 67 65 | 74 64 61 74 65 70 61 72 | /*IACge|tdatepar|
|00000340| 61 6d 2a 2f 0d 09 0d 0d | 42 6f 6f 6c 65 61 6e 20 |am*/....|Boolean |
|00000350| 49 41 43 67 65 74 64 61 | 74 65 69 74 65 6d 20 28 |IACgetda|teitem (|
|00000360| 41 45 44 65 73 63 4c 69 | 73 74 20 2a 6c 69 73 74 |AEDescLi|st *list|
|00000370| 2c 20 6c 6f 6e 67 20 6e | 2c 20 6c 6f 6e 67 20 2a |, long n|, long *|
|00000380| 76 61 6c 29 20 7b 0d 09 | 0d 09 72 65 67 69 73 74 |val) {..|..regist|
|00000390| 65 72 20 4f 53 45 72 72 | 20 65 63 3b 0d 09 44 65 |er OSErr| ec;..De|
|000003a0| 73 63 54 79 70 65 20 6b | 65 79 3b 0d 09 44 65 73 |scType k|ey;..Des|
|000003b0| 63 54 79 70 65 20 74 79 | 70 65 43 6f 64 65 3b 0d |cType ty|peCode;.|
|000003c0| 09 53 69 7a 65 20 61 63 | 74 75 61 6c 53 69 7a 65 |.Size ac|tualSize|
|000003d0| 3b 0d 09 0d 09 69 66 20 | 28 28 2a 6c 69 73 74 29 |;....if |((*list)|
|000003e0| 2e 64 65 73 63 72 69 70 | 74 6f 72 54 79 70 65 20 |.descrip|torType |
|000003f0| 21 3d 20 74 79 70 65 41 | 45 4c 69 73 74 29 20 7b |!= typeA|EList) {|
|00000400| 0d 09 09 0d 09 09 65 63 | 20 3d 20 41 45 47 65 74 |......ec| = AEGet|
|00000410| 4b 65 79 50 74 72 20 28 | 6c 69 73 74 2c 20 6e 2c |KeyPtr (|list, n,|
|00000420| 20 74 79 70 65 44 61 74 | 65 2c 20 26 74 79 70 65 | typeDat|e, &type|
|00000430| 43 6f 64 65 2c 20 28 50 | 74 72 29 20 76 61 6c 2c |Code, (P|tr) val,|
|00000440| 20 73 69 7a 65 6f 66 20 | 28 2a 76 61 6c 29 2c 20 | sizeof |(*val), |
|00000450| 26 61 63 74 75 61 6c 53 | 69 7a 65 29 3b 0d 09 09 |&actualS|ize);...|
|00000460| 09 0d 09 09 69 66 20 28 | 65 63 20 21 3d 20 65 72 |....if (|ec != er|
|00000470| 72 41 45 44 65 73 63 4e | 6f 74 46 6f 75 6e 64 29 |rAEDescN|otFound)|
|00000480| 0d 09 09 09 67 6f 74 6f | 20 64 6f 6e 65 3b 0d 09 |....goto| done;..|
|00000490| 09 7d 0d 0d 09 65 63 20 | 3d 20 41 45 47 65 74 4e |.}...ec |= AEGetN|
|000004a0| 74 68 50 74 72 20 28 6c | 69 73 74 2c 20 6e 2c 20 |thPtr (l|ist, n, |
|000004b0| 74 79 70 65 44 61 74 65 | 2c 20 26 6b 65 79 2c 20 |typeDate|, &key, |
|000004c0| 26 74 79 70 65 43 6f 64 | 65 2c 20 28 50 74 72 29 |&typeCod|e, (Ptr)|
|000004d0| 20 76 61 6c 2c 20 73 69 | 7a 65 6f 66 20 28 2a 76 | val, si|zeof (*v|
|000004e0| 61 6c 29 2c 20 26 61 63 | 74 75 61 6c 53 69 7a 65 |al), &ac|tualSize|
|000004f0| 29 3b 0d 09 0d 09 64 6f | 6e 65 3a 0d 09 0d 09 49 |);....do|ne:....I|
|00000500| 41 43 67 6c 6f 62 61 6c | 73 2e 65 72 72 6f 72 63 |ACglobal|s.errorc|
|00000510| 6f 64 65 20 3d 20 65 63 | 3b 0d 09 0d 09 72 65 74 |ode = ec|;....ret|
|00000520| 75 72 6e 20 28 65 63 20 | 3d 3d 20 6e 6f 45 72 72 |urn (ec |== noErr|
|00000530| 29 3b 0d 09 7d 20 2f 2a | 49 41 43 67 65 74 64 61 |);..} /*|IACgetda|
|00000540| 74 65 69 74 65 6d 2a 2f | 0d 0d 0d 42 6f 6f 6c 65 |teitem*/|...Boole|
|00000550| 61 6e 20 49 41 43 70 75 | 73 68 64 61 74 65 69 74 |an IACpu|shdateit|
|00000560| 65 6d 20 28 41 45 44 65 | 73 63 4c 69 73 74 20 2a |em (AEDe|scList *|
|00000570| 6c 69 73 74 2c 20 6c 6f | 6e 67 20 76 61 6c 2c 20 |list, lo|ng val, |
|00000580| 6c 6f 6e 67 20 6e 29 20 | 7b 0d 09 0d 09 72 65 67 |long n) |{....reg|
|00000590| 69 73 74 65 72 20 4f 53 | 45 72 72 20 65 63 3b 0d |ister OS|Err ec;.|
|000005a0| 09 0d 09 69 66 20 28 28 | 2a 6c 69 73 74 29 2e 64 |...if ((|*list).d|
|000005b0| 65 73 63 72 69 70 74 6f | 72 54 79 70 65 20 21 3d |escripto|rType !=|
|000005c0| 20 74 79 70 65 41 45 4c | 69 73 74 29 0d 09 09 65 | typeAEL|ist)...e|
|000005d0| 63 20 3d 20 41 45 50 75 | 74 4b 65 79 50 74 72 20 |c = AEPu|tKeyPtr |
|000005e0| 28 6c 69 73 74 2c 20 6e | 2c 20 74 79 70 65 44 61 |(list, n|, typeDa|
|000005f0| 74 65 2c 20 28 50 74 72 | 29 20 26 76 61 6c 2c 20 |te, (Ptr|) &val, |
|00000600| 73 69 7a 65 6f 66 20 28 | 76 61 6c 29 29 3b 0d 09 |sizeof (|val));..|
|00000610| 65 6c 73 65 0d 09 09 65 | 63 20 3d 20 41 45 50 75 |else...e|c = AEPu|
|00000620| 74 50 74 72 20 28 6c 69 | 73 74 2c 20 6e 2c 20 74 |tPtr (li|st, n, t|
|00000630| 79 70 65 44 61 74 65 2c | 20 28 50 74 72 29 26 76 |ypeDate,| (Ptr)&v|
|00000640| 61 6c 2c 20 73 69 7a 65 | 6f 66 20 28 76 61 6c 29 |al, size|of (val)|
|00000650| 29 3b 0d 09 0d 09 49 41 | 43 67 6c 6f 62 61 6c 73 |);....IA|Cglobals|
|00000660| 2e 65 72 72 6f 72 63 6f | 64 65 20 3d 20 65 63 3b |.errorco|de = ec;|
|00000670| 0d 09 0d 09 72 65 74 75 | 72 6e 20 28 65 63 20 3d |....retu|rn (ec =|
|00000680| 3d 20 6e 6f 45 72 72 29 | 3b 0d 09 7d 20 2f 2a 49 |= noErr)|;..} /*I|
|00000690| 41 43 70 75 73 68 64 61 | 74 65 69 74 65 6d 2a 2f |ACpushda|teitem*/|
|000006a0| 0d 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00000710| 73 74 20 28 4e 55 4c 4c | 2c 20 28 53 69 7a 65 29 |st (NULL|, (Size)|
|00000720| 20 30 2c 20 74 72 75 65 | 2c 20 72 65 63 6f 72 64 | 0, true|, record|
|00000730| 09 69 61 63 64 61 74 65 | 2e 63 02 00 00 00 50 61 |.iacdate|.c....Pa|
|00000740| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000750| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 a9 81 44 d3 00 00 | 00 00 00 00 01 92 2f 0d |....D...|....../.|
|00000780| 0d 0d 42 6f 6f 6c 65 61 | 6e 20 49 41 43 67 65 74 |..Boolea|n IACget|
|00000790| 69 74 65 6d 69 6e 66 6f | 20 28 0d 09 09 09 41 45 |iteminfo| (....AE|
|000007a0| 52 65 63 6f 72 64 20 2a | 72 65 63 6f 72 64 2c 20 |Record *|record, |
|000007b0| 6c 6f 6e 67 20 6e 2c 20 | 41 45 4b 65 79 77 6f 72 |long n, |AEKeywor|
|000007c0| 64 20 2a 6b 65 79 2c 20 | 44 65 73 63 54 79 70 65 |d *key, |DescType|
|000007d0| 20 2a 74 79 70 65 2c 20 | 53 69 7a 65 20 2a 62 79 | *type, |Size *by|
|000007e0| 74 65 73 29 20 7b 0d 0d | 09 72 65 67 69 73 74 65 |tes) {..|.registe|
|000007f0| 72 20 4f 53 45 72 72 20 | 65 63 3b 0d 09 0d 09 65 |r OSErr |ec;....e|
|00000800| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 06 | 00 04 00 4c 00 10 01 d6 |........|...L....|
|00000830| 02 40 00 4c 00 10 01 d6 | 02 40 a8 21 a8 be 00 00 |.@.L....|.@.!....|
|00000840| 01 4a 00 00 01 4a 00 00 | 00 00 01 00 00 00 01 00 |.J...J..|........|
|00000850| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 c5 8a 58 |...L...L|...F...X|
|00000860| 17 e0 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000870| 00 0a 03 ed 00 00 00 00 | 00 00 00 c5 88 e8 13 43 |........|.......C|
|00000880| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00000890| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+